package de.homelabs.bookstore.domain;

/**
 * Diese Klasse repraesentiert den Autor eines Buches
 * 
 * @author d.mueller
 *
 */
public class Autor {

	//vars
	private int id;
	private String name;

	/**
	 * Konstruktor
	 * @param String name - Name des Autors
	 */
	public Autor(String name) {
		this.name = name;
	}

	/*******************
	 * getter / setter *
	 *******************/
	public int getId(){
		return id;
	}
	
	public void setId(int pId){
		this.id = pId;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
